package com.barunsw.bwf.bims.main;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.barunsw.bwf.bims.device.DeviceController;

@Controller
public class BIMSMainController {
	private static Logger LOGGER = LoggerFactory.getLogger(BIMSMainController.class);
	
	@RequestMapping("")
	public String mainView() {
		return "redirect:main";
	}
	
	@RequestMapping("/main")
	public String main() {
		return "main";
	}
	
	@RequestMapping("/Constants")
	public String constants() {
		return "common/Constants";
	}
}
